package afcp.alumni.service;

import java.io.IOException;
import java.io.InputStream;
import java.util.List;

import javax.xml.parsers.ParserConfigurationException;

import net.sourceforge.stripes.action.Message;

import org.apache.poi.openxml4j.exceptions.OpenXML4JException;
import org.xml.sax.SAXException;

import afcp.alumni.file.AlumniFile;
import afcp.alumni.file.IncorrectHeaderException;

public interface FileUploadService {
	
	public void handle(InputStream is, AlumniFile file, List<Message> failures)
			throws IncorrectHeaderException, IOException, OpenXML4JException,
			ParserConfigurationException, SAXException;

}
